if vim.loop.os_uname().sysname ~= "FreeBSD" then
  return {
    -- {
    --   "nvimtools/none-ls.nvim",
    --   opts = function(_, config)
    --     local null_ls = require "null-ls"
    --     config.sources = require("astrocore").list_insert_unique(config.sources, {
    --       null_ls.builtins.formatting.prettier,
    --       null_ls.builtins.diagnostics.selene,
    --       null_ls.builtins.formatting.stylua,
    --       null_ls.builtins.formatting.shfmt,
    --     })
    --   end,
    -- },
  }
else
  return {
    {
      "nvim-telescope/telescope-fzf-native.nvim",
      lazy = true,
      enabled = vim.fn.executable "cmake" == 1,
      build = "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build",
    },
    {
      "nvimtools/none-ls.nvim",
      opts = function(_, config)
        local null_ls = require "null-ls"
        config.sources = require("astrocore").list_insert_unique(config.sources, {
          null_ls.builtins.formatting.prettier,
          null_ls.builtins.formatting.stylua,
          null_ls.builtins.formatting.shfmt,
          null_ls.builtins.diagnostics.selene,
        })
      end,
    },
    -- { "lewis6991/gitsigns.nvim", commit = "e5edefd" },
  }
end
-- pkg install hs-ShellCheck stylua shfmt selene
-- install cargo install selene
